package com.askinhand.dao;
import java.util.List;

import com.askinhand.bean.Message;

public interface IMessageDAO {

	public abstract void save(Message transientInstance);

	public abstract void delete(Message persistentInstance);

	public abstract Message findById(java.lang.Integer id);

	public abstract List findByExample(Message instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByContent(Object content);

	public abstract List findByIsRead(Object isRead);

	public abstract List findByTitle(Object title);

	public abstract List findAll();

	public abstract Message merge(Message detachedInstance);

	public abstract void attachDirty(Message instance);

	public abstract void attachClean(Message instance);

}